<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>Untitled Document</title>
		<%= stylesheet_link_tag 'master' %>
		<%= javascript_include_tag :defaults %>
	</head>
	<body>
		<div id="wrapper">
			<h1>User layout</h1>
			<ul>
				<% if user_logged_in? %>
				<li><%= link_to('Kirjaudu ulos', logout_path) %></li>
				<% end %>
			</ul>
			<%= yield %>	
		</div>
	</body>
</html>
